﻿using MediatR;
using W.Common.Enum;
using W.Purchase.Domain;
using W.Purchase.Domain.DTO;
using W.Purchase.Domain.PageDTO;

namespace W.Purchase.Read.API.AppLication.Command.PayableCommand
{
    public class PayableShowCommand:IRequest<Pages<PayableShowDto>>
    {
        /// <summary>
        /// 流水号
        /// </summary>
        public string? PayableSerialNumber { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? PayableName { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string? FinanceTypeName { get; set; }
        /// <summary>
        /// 收款方
        /// </summary>
        public string? Payee { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public ReceivableStatus? Status { get; set; }
        public string? StatusText { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
